     AddCSLuaFile( "cl_init.lua" )
     AddCSLuaFile( "shared.lua" )
      
     include('shared.lua')

	 function ENT:SpawnFunction( ply, tr)
		local SpawnPos = tr.HitPos
		local ent = ents.Create( "colonies_headcrabnest" )
		self.nest = ent
		ent:SetPos( SpawnPos )
		ent:Spawn()
		return ent
	end

      
    function ENT:Initialize()
		
		self.Entity:SetModel("models/props_trainstation/trashcan_indoor001b.mdl")
		self.Entity:PhysicsInit( SOLID_VPHYSICS ) // Make us work with physics,
		self.Entity:SetMoveType( MOVETYPE_NONE )
		self.Entity:SetSolid( SOLID_VPHYSICS ) // Toolbox 
    end
     
     function ENT:OnTakeDamage(dmg)
    
     end
	 	    
	function ENT:Think()
		/*
		local sphentseat = ents.FindInSphere(self.Entity:GetPos(),512)
				for i, thenteat in pairs(sphentseat) do
					if thenteat:GetClass() == "npc_headcrab" then thenteat.nest = self.Entity end
				end
		self.Entity:NextThink(CurTime()+1)
		*/
	end 